/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.guangfan.modules.partymember.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.common.persistence.Page;
import com.jeeplus.common.service.CrudService;
import com.guangfan.modules.partymember.entity.PartyMember;
import com.guangfan.modules.partymember.dao.PartyMemberDao;

/**
 * 党员管理Service
 * @author baibing
 * @version 2016-03-07
 */
@Service
@Transactional(readOnly = true)
public class PartyMemberService extends CrudService<PartyMemberDao, PartyMember> {

	public PartyMember get(String id) {
		return super.get(id);
	}
	
	public List<PartyMember> findList(PartyMember partyMember) {
		return super.findList(partyMember);
	}
	
	public Page<PartyMember> findPage(Page<PartyMember> page, PartyMember partyMember) {
		return super.findPage(page, partyMember);
	}
	
	@Transactional(readOnly = false)
	public void save(PartyMember partyMember) {
		super.save(partyMember);
	}
	
	@Transactional(readOnly = false)
	public void delete(PartyMember partyMember) {
		super.delete(partyMember);
	}
	
}